#include <stdio.h>

int main()
{ 	 	 	   		 
    int c;
    int nalpha[26];
    int i;
    for (i = 0; i < 26; i ++)
        nalpha[i] = 0;

    while((c = getchar()) != '\n') { 	 	 	   		 
        if (c >= 'a' && c <= 'z')
            c = c - 'a' + 'A';
        if (c >= 'A' && c <= 'Z')
            nalpha[c - 'A'] ++;
    }

    for (i = 0; i < 26; i ++)
        printf("%c(%c):%d\n", 'A' + i, 'a' + i, nalpha[i]);
    return 0;
} 	 	